package com.example.jd.common.enums;

/**
 * 状态
 */

public enum StatusEnum {

    NORMAL(0,"正常"),
    DELETE(-1,"删除");

    private Integer code;
    private String desc;

    StatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
